package com.gan.simple_init.service;

import com.gan.simple_init.model.sys.entity.SysRole;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gan.simple_init.model.sys.vo.SysRoleVO;

import java.util.List;

/**
* @author gbw
* @description 针对表【sys_role(角色信息表)】的数据库操作Service
* @createDate 2023-08-11 14:47:38
*/
public interface SysRoleService extends IService<SysRole> {

    /**
     * 获取角色名列表
     * @return
     */
    List<SysRoleVO> selectRoleNameList();

    boolean updateRoleById(Long userId, Long roleId);
}
